<?php
if (isset($_POST['id']) && !empty($_POST['id'])){
    include '../c/config.php';
    $mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
    if (!$mysqli->set_charset("utf8")) {}
    $id=addslashes(trim($_POST['id']));
    $query=$mysqli->query("SELECT name FROM qdui where id='".$id."'  limit 0,1 ");
    $name='';
    if($query->num_rows>0){
        $list=$query->fetch_assoc();
        $name=$list['name'];
    }
    $mysqli->close();
    echo json_encode(array('n'=>$name));
}

